2 way merge